package com.group.three.service.impl;

import com.group.three.mapper.VideoImagesMapper;
import com.group.three.pojo.VideoImages;
import com.group.three.service.VideoImagesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class VideoImagesServiceImpl implements VideoImagesService {
    @Autowired
    VideoImagesMapper videoImagesMapper;

    @Override
    public boolean addNewImage(VideoImages videoImages) {
        int i = videoImagesMapper.addNewImage(videoImages);
        if (i!=0){
            return true;
        }else {
            return false;
        }
    }
}
